package com.arica.project.elacticsearch.service;

import com.arica.project.elacticsearch.domain.CrudEsDemo;
import com.arica.project.elacticsearch.domain.CrudEsDemoSearchDTO;
import com.arica.project.elacticsearch.domain.CrudEsSerarchReq;

import java.util.List;

/**
 * elasticsearch 增删改查 示例
 *
 * @author soo
 */
public interface CrudEsApiService {

    void createCrudEsIndex();

    void editCrudEsDoc(CrudEsDemo crudEsDemo);

    void deleteCrudEsDoc(CrudEsDemo crudEsDemo);

    List<CrudEsDemoSearchDTO> searchCrudEsDoc(CrudEsSerarchReq req);


}
